package tmpTest;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;

public class Test2 {
    public static void main(String[] args) {
        LinkedList<Object> objects = new LinkedList<>();
        objects.add(2);
        objects.add(1);
        Object o = objects.get(0);
        System.out.println(o);
        for (Object object : objects) {
            System.out.println(object);
        }
        HashSet<Object> objects1 = new HashSet<>();
        objects1.add(2);
        objects1.add(4);
        for (Object o1 : objects1) {

        }
    }
}
